<div>
    <table class="form-table" cellpadding=3>
    	<#if action.canApp('title','view') >
        <tr>
            <td>${action.getDatagridTitle('title')}:</td>
            <td>${entity.title?default('')}</td>
        </tr>
        </#if>
        <#if action.canApp('subTitle','view') >
        <tr>
            <td>${action.getDatagridTitle('subTitle')}:</td>
            <td>${entity.subTitle?default('')}</td>
        </tr>
        </#if>
        <#if action.canApp('icon','view') >
        <tr>
	        <td>${action.getDatagridTitle('icon')}:</td>
	        <td>
	     		<a href="javascript:;;" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-tip'" id="entity_icon_${action_id}_preview" >${action.getText('bg.message.preview')}</a>
	     		<script type="text/javascript">
	     		$(function(){
	     			$('#entity_icon_${action_id}_preview').preview({html:'<div style="border:#c0c0c0 1px solid;background-color: white;"><img src="${iconUrl?default('')}${entity.icon?default('')}?_v=${timeMillis}" /></div>'});
	     		});
	     		</script>
	        </td>
        </tr>
        </#if>
        <#if action.canApp('source','view') >
        <tr>
            <td>${action.getDatagridTitle('source')}:</td>
            <td>${entity.source?default('')}</td>
        </tr>
        </#if>
        <#if action.canApp('author','view') >
        <tr>
            <td>${action.getDatagridTitle('author')}:</td>
            <td>${entity.author?default('')}</td>
        </tr>
        </#if>
        <#if action.canApp('publishTime','view') >
        <tr>
            <td>${action.getDatagridTitle('publishTime')}:</td>
            <td>${entity.publishTime?default('')}</td>
        </tr>
        </#if>
        <#if action.canApp('tags','view') >
        <tr>
            <td>${action.getDatagridTitle('tags')}:</td>
            <td>${entity.tags?default('')}</td>
        </tr>
        </#if>
        <#if action.canApp('channel','view') >
        <tr>
            <td>${action.getDatagridTitle('channel')}:</td>
            <td>
            <input class="easyui-combotree" id="entity.channel.id" value="<#if entity.channel?? >${entity.channel.id?default('')}</#if>" style="width: 400px;" name="entity.channel.id" data-options="disabled:true,url:'${request.contextPath}${namespace?default('')}/mp/article/channel-datagrid.json'" style="width:200px;" >
			</td>
        </tr>
        </#if>
        <#if action.canApp('summary','view') >
        <tr>
            <td>${action.getDatagridTitle('summary')}:</td>
            <td>
			${entity.summary?default('')}
            </td>
        </tr>
        </#if>
        <#if action.canApp('content','view') >
        <tr>
            <td>${action.getDatagridTitle('content')}:</td>
            <td>
			${entity.content?default('')}
            </td>
        </tr>
        </#if>
    </table>
</div>
